<? include ("../init.php") ?>
<?

  $pid = $_POST['pid'];
  $detail = $_POST['detail'];
  $price = $_POST['price'];
  $package = $_POST['package'];

  $sql = "UPDATE package SET package = '$package', price = '$price', detail = '$detail' WHERE pid = '$pid'";
  $db->execute($sql);

  header("Location:index.php");
?>